//
//  CPRootController.swift
//  CJPackDemo
//
//  Created by 陈警卫 on 2023-12-05.
//

import UIKit
import CJPack

class CPRootController: CJNavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
    }
    
    class func root(vc: UIViewController) -> CPRootController {
        let rc = CPRootController(rootViewController: vc)
        return rc
    }
    
    class func rootTC() -> CPRootController {
        let tc = CPTabBarController()
        let rc = CPRootController(rootViewController: tc)
        return rc
    }
    
    
}
